package com.demo.bean;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import net.sf.json.JSONArray;

public class ResultBean<T> implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private String code;
	
	private String message;
	
	private T obj;
	
	private List<T> objs;
	
	private Map<String, Object> mapObj = null;

	private JSONArray json;
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getObj() {
		return obj;
	}

	public void setObj(T obj) {
		this.obj = obj;
	}

	public List<T> getObjs() {
		return objs;
	}

	public void setObjs(List<T> objs) {
		this.objs = objs;
	}

	public Map<String, Object> getMapObj() {
		return mapObj;
	}

	public void setMapObj(Map<String, Object> mapObj) {
		this.mapObj = mapObj;
	}

	public JSONArray getJson() {
		return json;
	}

	public void setJson(JSONArray json) {
		this.json = json;
	}

}